package com.cn.service;

import com.cn.bean.Teacher;
import com.cn.dao.TeacherDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherService {

    @Autowired
    private TeacherDao teacherDao;


    public Teacher getTeacher(Integer id) {
        return teacherDao.getTeacherBiId(id);
    }
}
